import React, {Component} from 'react'
import qs from 'qs'
import Test from './test'

class Detail extends Component {
    render () {
        return (
            <>
                {this.props.match.params.id}
                {qs.parse(this.props.location.search, {ignoreQueryPrefix:true}).title}
                <Test />
            </>
        )
    }
}

export default Detail